package com.guomei.bean.exam.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guomei.bean.exam.domain.ExamQuestion;

import lombok.Data;


@Data
public class ExamPager {

    private List<ExamQuestion> questions;

     /**
     * 考试名称
     */
    private String examName;

    /**
     * 关联课程ID(为空表示通用考试)
     */
    private Long courseId;

    /**
     * 封面图片
     */
    private String coverImage;

    /**
     * 考试描述
     */
    private String description;

    /**
     * 考试类型(1-手工上传,2-题库随机)
     */
    private Short examType;

    /**
     * 考试时长(分钟)
     */
    private Integer duration;

    /**
     * 考试费用
     */
    private BigDecimal price;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    /**
     * 状态(0-未发布,1-已发布,2-已结束)
     */
    private Short status;
    
}
